package pers.mobian.springfirst.sameBeanName;

import org.springframework.stereotype.Component;

/**
 * @Date 2021/3/6 17:01
 * @Created mobian
 * @Description
 */
@Component
public class Cat implements Eat {
	@Override
	public void eat() {
		System.out.println("我是猫，喜欢吃鱼");

	}
}
